package enumTest;

public class TestEnum {
    public static void main(String[] args) {
        System.out.println(Test.TT.getValue());
        System.out.println(Test.TT);
        System.out.println(Test.AUDIT.getValue());
        Season1.spring.tt();
        Season season = new Season() {
            public void sea() {
                System.out.println("这是创建对象里面的子类");
            }
        };
        season.sea();

//        Season1 s1 = Season1.spring;
//        Season1 s2 = Season1.spring;
//        System.out.println(Season1.spring);
//        System.out.println(s1 == s2);
//        System.out.println(Season1.valueOf("spring") == s1);
//        System.out.println(Season1.spring.compareTo(Season1.autumn));
    }
}
